/* -----------------------------------------------------------------------------
*  CFileTxtOut
*  Author: Antonio Javier Gallego Sánchez (ajgallego AT gmail DOT com)
*  License: GNU Public License
* ----------------------------------------------------------------------------*/

#ifndef CFILETXTOUT_HPP_
#define CFILETXTOUT_HPP_

class CFileTxtOut
{
    public:
        CFileTxtOut( const char* filename );
        ~CFileTxtOut();

        void writeChar( char c );
        void writeString( const char* str );
        void writeBool( bool value );
        void writeInt( int value );
        void writeUInt( unsigned int value );
        void writeDouble( double value );
        //#define writeEnum( value ) (writeUShort( (unsigned short)value ))

        void writeVector( const class CVectorString *content );

    private:
        struct prv_fileOut_t *m_data;
};

#endif